﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_RetuenCargo.cs
// 创建时间：2016/11/30
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///退货给供货商(ERP_RetuenCargo)数据实体
	/// </summary>
	[Serializable]
	public class ERP_RetuenCargo
	{
		#region 变量定义
		
		///<summary>
		///退货单id
		///</summary>
		private int _returnID;
		
		///<summary>
		///退货单编号
		///</summary>
		private string _returnNo = String.Empty;
		
		///<summary>
		///库房ID
		///</summary>
		private int _storeRoomId;
		
		///<summary>
		///制单人
		///</summary>
		private string _inUser = String.Empty;
		
		///<summary>
		///制单时间
		///</summary>
		private string _inDate = String.Empty;
		
		///<summary>
		///审核人
		///</summary>
		private string _checkUser = String.Empty;
		
		///<summary>
		///审核时间
		///</summary>
		private string _checkDate = String.Empty;
		
		///<summary>
		///0未提交，1已提交，2已审核
		///</summary>
		private int _state;
		
		///<summary>
		///供货商ID
		///</summary>
		private int _supplyId;
		
		///<summary>
		///退货原因
		///</summary>
		private string _comment = String.Empty;
		
		///<summary>
		///备注
		///</summary>
		private string _remark = String.Empty;
		#endregion
		
		#region 构造函数

		///<summary>
		///退货给供货商的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_RetuenCargo()
		{
 
		}
		///<summary>
		///退货给供货商
		///</summary>
		public ERP_RetuenCargo
		(
			int returnID,
			string returnNo,
			int storeRoomId,
			string inUser,
			string inDate,
			string checkUser,
			string checkDate,
			int state,
			int supplyId,
			string comment,
			string remark
		)
		{
			_returnID    = returnID;
			_returnNo    = returnNo;
			_storeRoomId = storeRoomId;
			_inUser      = inUser;
			_inDate      = inDate;
			_checkUser   = checkUser;
			_checkDate   = checkDate;
			_state       = state;
			_supplyId    = supplyId;
			_comment     = comment;
			_remark      = remark;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///退货单id
		///</summary>
		public int ReturnID
		{
			get {return _returnID;}
			set {_returnID = value;}
		}

		
		///<summary>
		///退货单编号
		///</summary>
		public string ReturnNo
		{
			get {return _returnNo;}
			set {_returnNo = value;}
		}

		
		///<summary>
		///库房ID
		///</summary>
		public int StoreRoomId
		{
			get {return _storeRoomId;}
			set {_storeRoomId = value;}
		}

		
		///<summary>
		///制单人
		///</summary>
		public string InUser
		{
			get {return _inUser;}
			set {_inUser = value;}
		}

		
		///<summary>
		///制单时间
		///</summary>
		public string InDate
		{
			get {return _inDate;}
			set {_inDate = value;}
		}

		
		///<summary>
		///审核人
		///</summary>
		public string CheckUser
		{
			get {return _checkUser;}
			set {_checkUser = value;}
		}

		
		///<summary>
		///审核时间
		///</summary>
		public string CheckDate
		{
			get {return _checkDate;}
			set {_checkDate = value;}
		}

		
		///<summary>
		///0未提交，1已提交，2已审核
		///</summary>
		public int State
		{
			get {return _state;}
			set {_state = value;}
		}

		
		///<summary>
		///供货商ID
		///</summary>
		public int SupplyId
		{
			get {return _supplyId;}
			set {_supplyId = value;}
		}

		
		///<summary>
		///退货原因
		///</summary>
		public string Comment
		{
			get {return _comment;}
			set {_comment = value;}
		}

		
		///<summary>
		///备注
		///</summary>
		public string Remark
		{
			get {return _remark;}
			set {_remark = value;}
		}
	
		#endregion
		
	}
}